package com.xjh.basestudy.javabase.classandinterface.AbstractClass1;

public abstract class Animal {
    //抽象方法
    public abstract void eat();
    //普通方法
    public void sleep(){
        System.out.println("睡觉觉");
    }
}
